home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
systems
/
mac
/
oztex
/
oztex.hqx
/
Help-files
/
Changes to OzTeX 1.5
< prev
next >
Wrap
Text File
|
1993-08-02
|
12KB
|
206 lines
Changes to OzTeX 1.5
====================
Ñ OzTeX now supports virtual fonts. The TeX menu has a new item called
"Fix VFs in DVI" which can be used to select a DVI file and replace all
virtual font references with appropriate characters from actual fonts
(or with the specified rules and other DVI commands allowed in VF files).
There is another new item, "Fix VFs after TeX", which if ticked tells
OzTeX to fix any VFs in the DVI file created at the end of a TeX run.
OzTeX uses a modified version of Peter Breitenlohner's DVIcopy program to
do the VF processing. It first checks to see if any virtual fonts are used
in the DVI file (by looking at all the fonts listed in the postamble);
if none are used then no further processing is needed.
If one or more virtual fonts are used then OzTeX reads the entire DVI file,
creates a new DVI file (called dvi.tmp) with no VF references, deletes the
original DVI file and renames the new file with the original name.
(I eventually hope to move the VF-processing code into the modules that
print/preview a DVI file so that the "Fix VF..." items won't be needed.)
The definitive document on virtual fonts is Donald Knuth's article
in TUGboat vol.11 no.1. A text version (originally posted to comp.text.tex)
can be found in the TeX-docs folder; it's called knuth-vf.
See also the new section in the OzTeX User Guide.
Ñ The PostScript TFMs in the PS sub-folder in TeX-fonts have been replaced by
a new set of files that follow Karl Berry's font naming standard; using
them will make your TeX/LaTeX source files much more portable.
Suitable changes have been made to the list of PostScript fonts at the end
of the Default config file. Changes have also been made to some macro files
in TeX-inputs (psnames.tex and pstext.tex in the Plain sub-folder), and to
some source files in TeX-docs (nasty.tex, psfonts.tex and fontsamples.tex).
These new PostScript TFMs are meant to be used in conjunction with a
set of corresponding virtual font files. These VF files are stored in a
new sub-folder, VF-files, which has been added to the TeX-fonts folder.
(The VF and TFM files came from the SparcTeX distribution put together
by Sebastian Rahtz.)
If you decide to use these new PostScript fonts, remember to run
"Fix VFs in DVI" before viewing or printing your document. If you intend
to use these fonts a lot then it would be wise to tick "Fix VFs after TeX".
Ñ The Default config file has a new parameter which tells OzTeX where to
look for VF files. Multiple folders can be specified.
This new parameter takes up one of the previously reserved slots.
You should check all your own non-default config files and make sure the
new parameter value is "?" instead of something like "reserved" or "ignored".
Ñ The Times-LaTeX format has been replaced by a new NFSS-LaTeX format (this
includes the New Font Selection Scheme). The TeX-inputs folder has a new
sub-folder called NFSS which contains the source files and documentation.
The NFSS-LaTeX format was built by following the instructions in readme.mz3,
except I used preload.min rather than preload.ori. I also had to increase
TeX's pool_size parameter by 5000 in the Default config file.
The LaTeX sub-folder has been updated with more recent source files; these
were used to build the NFSS-LaTeX format and a new LaTeX format.
Ñ TeX-inputs also has a new PSNFSS sub-folder which contains style files
that make it easy to use PostScript fonts with the NFSS-LaTeX format.
See the README file in the PSNFSS sub-folder for more details.
(The new files in the NFSS, PSNFSS and LaTeX sub-folders all came from
the UK TeX archive. Thanks again Sebastian!)
Ñ A new application called OzTools is distributed with OzTeX. OzTools lets
you run the following TeX-related tools: TFtoPL, PLtoTF, VFtoVP and VPtoVF.
The standard file dialog for each tool has a "Do all files" button so you
can process all the TF/PL/VF/VPL files in a folder.
Ñ The name and size of the font used in the OzTeX window can now be selected
using the new "Font" and "Size" items in the File menu. For best results,
especially when showing config file parameters, it is advisable to use a
fixed-width font like Monaco or Courier. The FOND and FONT resources
for 9pt Monaco have been removed from the OzTeX application.
Ñ The "Save OzTeX Window", "Font" and "Size" items are disabled if the OzTeX
window is not in front ("Save OzTeX Window" is also disabled if there is
no text in the OzTeX window).
Ñ The "Print DVI" and "View DVI" file dialogs now show all files with names
that end in ".dvi" (as well as all DVI files created by OzTeX).
The Option key kludge for showing all types of files has been removed.
Ñ The Open button in various file dialogs is now labelled Print, Send, TeX or
View, depending on which menu item is selected.
Ñ If the new "Use Format in Log" item in the TeX menu is ticked, then before
typesetting *.tex OzTeX will look in *.log to see which format should be used.
(In log files created by OzTeX the format appears after the "&" on line 2.)
If the log file exists and the format is known (ie. exactly matches one of
the formats at the bottom of the TeX menu) then OzTeX automatically updates
the current format, if necessary. If the log file does not exist or does not
contain a known format then the current format will be used.
The state of "Use Format in Log" is remembered when you quit OzTeX.
Note that if you manage to create a log file with a known but incorrect
format then you'll have to turn off "Use Format in Log" and manually select
the correct format before typesetting the corresponding *.tex file.
Ñ If you start up OzTeX by double-clicking on any file of the form *.xxx
(eg. *.dvi, *.log, *.aux) then *.tex will appear in the TeX menu and *.dvi
will appear in the Print and View menus. Also, if *.log exists and contains
a known format then OzTeX will automatically make this the current format
so you can immediately typeset the *.tex file by hitting Command-T
(even if "Use Format in Log" is not ticked).
Ñ When translating *.dvi into PostScript, the initial file name shown after
clicking on the "Send to file" button is now *.ps.
The config file parameter that used to set this name is now ignored.
Ñ The two config file parameters that tell OzTeX where to look for PK files
and PostScript files can now specify multiple folders.
Ñ The search algorithm for PK files has been changed (apart from looking in
multiple folders) so that the most common naming scheme is examined earlier.
For example, if the PK folder is ":PK-files:" and "foo" is a non-PostScript
font with a calculated size of 300, then OzTeX will look for:
1. foo.300pk (in the current folder)
2. :PK-files:300:foo (relative to the location of OzTeX)
3. :PK-files:300:foo.300pk (ditto)
4. :PK-files:foo.300pk (ditto)
(At each step OzTeX will also add and subtract 1 from 300 because rounding
errors can occur in the size calculation.)
Ñ I've added better support for the various commercial PostScript fonts
that can be used with TeX (eg. Lucida, MathTime, or Textures' CM/PS fonts).
When you specify "<foo" in a config file to download a non-resident
PostScript font, OzTeX will now check the type of the given file.
If "foo" is of type LWFN (a standard Mac PostScript font file) then OzTeX
will download the relevant POST resources. If "foo" is not of type LWFN
then OzTeX simply downloads all the text in the file's data fork.
See the bottom of the PostScript font list in the Default config file for
more details; it shows how to use the MathTime fonts with OzTeX.
Ñ OzTeX no longer downloads the same PostScript font file more than once.
(This used to happen if the corresponding TeX font was used at more than
one size in the same DVI file.)
Ñ Yet another config file change: instead of using "M" or "A" to specify the
encoding scheme for PostScript screen fonts, you must now give the name of
an encoding file, or "nil" if the screen font uses the same encoding as its
corresponding TFM file. An encoding file gives you complete control over
which Macintosh character is displayed when a particular PostScript character
in a DVI file is to be viewed or printed on a non-PostScript printer
(note that encoding files are NOT used during PostScript printing).
Encoding files are loaded at the time the config file is loaded;
OzTeX searches for them in the current list of PS folders.
All encoding files can be found in the new Encodings sub-folder in PS-files,
and the Default config file has been modified to include this sub-folder.
More details about encoding files can be found at the bottom of the Default
config file and at the start of the Mac.enc encoding file.
Ñ The first two character mappings in Mac.enc fix a problem OzTeX had
previewing left and right quotes from a PostScript font
(and they will now print correctly on non-PostScript printers).
Ñ A new config file called "View CM using PS" uses encoding files to allow
Computer Modern text fonts to be previewed using PostScript screen fonts.
If you have TrueType or Adobe's Type Manager then you'll find these screen
fonts are much easier to read than scaled PK fonts. However, it is not
possible to find PS equivalents for all CM characters, so some characters
(such as the "ff", "ffi" and "ffl" ligatures) will appear incorrect.
It is NOT a good idea to try and print a DVI file using these font
substitutions, so the config file sets the printing resolution to a crazy
value to help prevent accidental printing.
Ñ "View CM using PS" uses another new feature. The PostScript font list in a
non-default config file can start with "=+" (rather than "==") to tell OzTeX
to add the given fonts to the current list (rather than delete the current
list and build a new one).
Ñ The "Show Config" item in the Config menu has been replaced by a hierarchical
menu which can show all current configuration parameters or some important
subsets: folders and files, TeX parameters, PostScript fonts, or all the
current encodings for PostScript screen fonts.
Ñ A problem running INITEX in the background has been fixed. The format file
dialog is now displayed only when OzTeX becomes the foregound application.
Ñ A problem printing huge PK characters on a PostScript printer has been fixed.
OzTeX no longer sends a hex string with more than 65535 digits; instead it
sends an array of smaller hex strings. Minor changes have been made to the
definitions of ch-image and CharBuilder in DVItoPS.ps.
Ñ OzTeX now passes the current paper height and width to DVItoPS.ps so the
oshift value can be calculated automatically. People who have a PostScript
printer set up for US Letter paper no longer need to edit the oshift value
in DVItoPS.ps; all they need to do is switch to the "US Letter" config file
or, even better, set the paper dimensions in the Default config file to
8.5in by 11in. (Don't know why I didn't think of this before!)
Ñ Added a bit more information to the "Shareware Fee" help file, including a
list of the currently registered groups.
Ñ Colour icons have been added (thanks to Roberto and Hans). If you already
have OzTeX then you'll need to rebuild the Desktop to see the new icons.
Ñ OzTeX's minimum application memory has been bumped up by 20K to 1320K.
Ñ OzTeX has been compiled to take advantage of a 68020 or newer CPU.
Typesetting is about 10% faster. (Mac Plus users will get an apologetic
message if they try to run this new version of OzTeX. I will supply a
Mac Plus version to registered OzTeX users on request.)